//go:build !ignore_autogenerated
// +build !ignore_autogenerated

// SPDX-License-Identifier: Apache-2.0
// Copyright Authors of Cilium

// Code generated by deepequal-gen. DO NOT EDIT.

package reconcilerv2

// DeepEqual is an autogenerated deepequal function, deeply comparing the
// receiver with other. in must be non-nil.
func (in *PeerData) DeepEqual(other *PeerData) bool {
	if other == nil {
		return false
	}

	if (in.Peer == nil) != (other.Peer == nil) {
		return false
	} else if in.Peer != nil {
		if !in.Peer.DeepEqual(other.Peer) {
			return false
		}
	}

	if (in.Config == nil) != (other.Config == nil) {
		return false
	} else if in.Config != nil {
		if !in.Config.DeepEqual(other.Config) {
			return false
		}
	}

	if in.Password != other.Password {
		return false
	}

	return true
}
